package com.huirui.server.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "收货地址VO类，用于展示用户收货地址信息")
@Data
public class DeliveryAddressVo {

    @Schema(description = "地址ID", example = "1001")
    private Long id;

    @Schema(description = "收货人姓名", example = "张三")
    private String receiverName;

    @Schema(description = "收货人手机号码", example = "13800138000")
    private String receiverPhone;

    @Schema(description = "省份", example = "广东省")
    private String province;

    @Schema(description = "城市", example = "深圳市")
    private String city;

    @Schema(description = "区/县", example = "南山区")
    private String district;

    @Schema(description = "详细地址", example = "科技园南区科苑路8号")
    private String detailAddress;

    @Schema(description = "是否默认地址：0-否，1-是", example = "1", allowableValues = {"0", "1"})
    private Integer isDefault;

}

